import { RouteRecordRaw } from 'vue-router';

export default {
  name: 'financial',
  path: '/financial',
  component: () => import('@/layout/index.vue'),
  redirect: '/financial/recharge',
  meta: {
    title: 'menus.mFinancial',
    icon: 'el-icon-money',
    sort: 1,
    roles: 'JadeSoft-Agent'
  },
  children: [
    {
      name: 'financial_recharge',
      path: '/financial/recharge',
      component: () => import('@/views/financial/recharge/index.vue'),
      meta: {
        title: 'menus.mFinancialRecharge',
        icon: 'el-icon-more'
      }
    },
    {
      name: 'financial_withdraw',
      path: '/financial/withdraw',
      component: () => import('@/views/financial/withdraw/index.vue'),
      meta: {
        title: 'menus.mFinancialWithdraw',
        icon: 'el-icon-more'
      }
    }
    // {
    //     name: 'financial_test',
    //     path: '/financial/test',
    //     component: () => import('@/views/financial/test/index.vue'),
    //     meta: {
    //         title: 'menus.mFinancialTest',
    //         icon: 'el-icon-more',
    //     }
    // },
  ]
} as RouteRecordRaw;
